package com.heima.home.dto;

import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class BookingListItemDTO {
    // 订单核心信息
    private Long id;
    private String bookingNo;
    private LocalDate checkInDate;
    private LocalDate checkOutDate;
    private BigDecimal totalAmount;
    private Integer status; // 1-已确认 2-已入住 3-已取消
    private Integer paymentStatus; // 0-未支付 1-已支付 2-已退款

    // 关联的房源信息 (前端展示需要)
    private Long propertyId;
    private String propertyTitle;
    private String propertyImageUrl;
    private String propertyCity;

    // 下单时间
    private LocalDateTime createdAt;
}